package example.array.p4.c;

import java.util.Arrays;
import java.util.Collections;

/**
 * @author 17976
 */
public class RunoobTest {
    static void reverse(Integer a[]){
        Collections.reverse(Arrays.asList(a));
        System.out.println(Arrays.asList(a));
    }

    public static void main(String[] args) {
        Integer [] arr={10,20,30,40,50};
        reverse(arr);
    }
}
